package yygh.user.client;

import org.springframework.stereotype.Repository;
import yygh.hospital.model.user.Patient;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {

    /**
     * 获取就诊人的信息
     * @param id
     * @return
     */
    @ApiOperation(value = "获取就诊人信息")
    @GetMapping("/api/patient/inner/get/{id}")
     Patient getPatientOrder(@PathVariable("id") Long id);


}
